package org.hxyjs.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.hxyjs.entity.Advertisers;
import org.hxyjs.entity.Advertisers;
import org.hxyjs.entity.AdvertisersExample;
import org.hxyjs.entity.Parents;

public interface AdvertisersMapper {
    long countByExample(AdvertisersExample example);

    int deleteByExample(AdvertisersExample example);

    int deleteByPrimaryKey(String adno);

    int insert(Advertisers record);

    int insertSelective(Advertisers record);

    List<Advertisers> getAdvertisersByPage(Map map);

    String getMaxAdno();

    Advertisers getAccountByAccountName(String adname);

    List<Advertisers> selectByExample(AdvertisersExample example);

    Advertisers selectByPrimaryKey(String adno);

    int updateByExampleSelective(@Param("record") Advertisers record, @Param("example") AdvertisersExample example);

    int updateByExample(@Param("record") Advertisers record, @Param("example") AdvertisersExample example);

    int updateByPrimaryKeySelective(Advertisers record);

    int updateByPrimaryKey(Advertisers record);
}